<template>
    <!-- <button @click="num++">点击</button> <span>{{ num }}</span> -->
    <button @click="num++">点击</button> <span>{{ num }}</span>
</template>




<script>
export default {
    data: function () {
        return {
            num: 0
        }
    },

}
</script>
    
    